import { useState } from 'react'
function App() {
	let [num, setNum] = useState(0)

	if (num == 100) {
		alert('okk')
	}
	var x = 100
	x = 200


	
	return (
		<div className='App'>
			<p>num: {num}</p>
			<button
				onClick={() => {
					setNum(++num)
				}}>
				累加
			</button>
		</div>
	)
}
export default App
